package com.dcloud.streamweb.core.command;


import com.dcloud.streamweb.enums.DeployModeEnum;

import java.io.IOException;

/**
 * @author zhuhuipei
 * @Description:
 * @date 2020-09-18
 * @time 20:09
 */
public interface CommandRpcClinetAdapter {


  /**
   * 提交服务
   *
   * @author zhuhuipei
   * @date 2021/3/26
   * @time 17:31
   */
  String submitJob(String command, StringBuilder localLog, Long jobRunLogId,
      DeployModeEnum deployModeEnum)
      throws Exception;


    void savepointForPerCluster(String jobId, String targetDirectory) throws Exception;
}
